package ae.pcfc.etks.online.common.domain;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TEtksSecurityQuestion entity. @author Mohtisham.Salahria
 */
@Entity
@Table(name = "T_ETKS_SECURITY_QUESTION", schema = "ETKS_ONLINE_DBA")
public class SecurityQuestion implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private Long securityQuestionId;
	private String securityQuestion;
	private String securityQuestionStatus;
	private String securityQuestionAR;

	// Constructors

	/** default constructor */
	public SecurityQuestion() {
	}

	/** full constructor */
	public SecurityQuestion(String securityQuestion,
			String securityQuestionStatus) {
		this.securityQuestion = securityQuestion;
		this.securityQuestionStatus = securityQuestionStatus;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "SECURITY_QUESTION_ID", unique = true, nullable = false, precision = 11, scale = 0)
	public Long getSecurityQuestionId() {
		return this.securityQuestionId;
	}

	public void setSecurityQuestionId(Long securityQuestionId) {
		this.securityQuestionId = securityQuestionId;
	}

	@Column(name = "SECURITY_QUESTION", nullable = false, length = 100)
	public String getSecurityQuestion() {
		return this.securityQuestion;
	}

	public void setSecurityQuestion(String securityQuestion) {
		this.securityQuestion = securityQuestion;
	}

	@Column(name = "SECURITY_QUESTION_STATUS", nullable = false, length = 1)
	public String getSecurityQuestionStatus() {
		return this.securityQuestionStatus;
	}

	public void setSecurityQuestionStatus(String securityQuestionStatus) {
		this.securityQuestionStatus = securityQuestionStatus;
	}

	@Column(name = "SECURITY_QUESTION_AR", length = 100)
	public String getSecurityQuestionAR() {
		return securityQuestionAR;
	}


	public void setSecurityQuestionAR(String securityQuestionAR) {
		this.securityQuestionAR = securityQuestionAR;
	}
}